package cn.yshujia.handler.sensitive;

import cn.yshujia.encryption.AESEncrypt;
import org.springframework.stereotype.Component;

/**
 * @author yshujia
 * @create 2024/4/23
 * @description 数据加解密 处理器
 */

@Component
public class EncryptionHandler extends AbstractSensitiveHandler {
	@Override
	public String set(String s) {
		return AESEncrypt.encrypt(s);
	}
}
